package com.ruoyi.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.UserMessage;
import com.ruoyi.web.domain.dto.UserMessageDto;
import com.ruoyi.web.domain.vo.UserMessageVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

@Mapper
public interface UserMessageMapper extends BaseMapper<UserMessage> {

    List<UserMessageVo> selectUserMessageList(@Param("dto") UserMessageDto dto);

    Map<String, Integer> selectUserMessageCount();
}
